package com.ayou.eggguard.farm.service;

import com.ayou.common.utils.PageBean;
import com.ayou.eggguard.farm.pojo.RelatedDrug;
import com.ayou.eggguard.farm.pojo.TreatMethod;
import com.ayou.eggguard.farm.pojo.TreatmentPlan;

import java.util.List;

public interface TreatMethodService {
    PageBean<TreatMethod> getMethods(int pageNum, int pageSize, String methodName);

    void delete(Integer id);

    PageBean<TreatmentPlan> getMethodsList(int pageNum, int pageSize, String methodName);

    void deleteMethod(String methodName);


    void addTreatmentPlan(String methodName, String methodDescription, List<RelatedDrug> drugList);

    List<String> getMethodName();
}
